
import axios, {Axios} from 'axios'
const context = "/ucenter"

/**
 * 获取 FmsRecipeCategory 分页列表
*/
export function getFmsRecipeCategoryPagination(data: any) {
  return axios.get(`${context}/fmsRecipeCategory/pagination`, { params: data });
}


/**
 * 获取 FmsRecipeCategory 所有数据
*/
export function getFmsRecipeCategoryAllList(data: any) {
  return axios.get(`${context}/fmsRecipeCategory/all`, { params: data });
}


/**
 * 获取 FmsRecipeCategory 详情
*/
export function getFmsRecipeCategoryDetailById(id: any) {
  return axios.get(`${context}/fmsRecipeCategory/${id}`, { params:{id} });
}


/**
 * 新增 FmsRecipeCategory
*/
export function addFmsRecipeCategory(data: any) {
  return axios.post(`${context}/fmsRecipeCategory`, data);
}

/**
 * 修改 FmsRecipeCategory
*/
export function updateFmsRecipeCategory(data: any) {
  return axios.put(`${context}/fmsRecipeCategory`, data);
}

/**
 * 删除 FmsRecipeCategory
*/
export function batchRemoveFmsRecipeCategory(data: any) {
  return axios.post(`${context}/fmsRecipeCategory/batchRemove`, data);
}

    